package com.ruoyi.parking.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 停车位对象 cm_parking_space
 *
 * @author HuangRong
 * @date 2023-05-13
 */
public class Space extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long spaceId;

    /** 停车位编号 */
    @Excel(name = "停车位编号")
    private String cpaceCode;

    /** 1:公共车位，2:私有车位 */
    @Excel(name = "1:公共车位，2:私有车位")
    private String status;

    /** 停车场ID */
    @Excel(name = "停车场ID")
    private Long parkingId;

    /** 删除标识0:正常2:删除 */
    private String delFlag;

    public void setSpaceId(Long spaceId)
    {
        this.spaceId = spaceId;
    }

    public Long getSpaceId()
    {
        return spaceId;
    }
    public void setCpaceCode(String cpaceCode)
    {
        this.cpaceCode = cpaceCode;
    }

    public String getCpaceCode()
    {
        return cpaceCode;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setParkingId(Long parkingId)
    {
        this.parkingId = parkingId;
    }

    public Long getParkingId()
    {
        return parkingId;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("spaceId", getSpaceId())
                .append("cpaceCode", getCpaceCode())
                .append("status", getStatus())
                .append("parkingId", getParkingId())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
